fix: retire status.sh --repos, which sourced a deleted file - #332
Merged
Conversation
`scripts/status.sh --repos` sourced `scripts/pyauto_status.sh` and called a `pyauto-status` shell function. Both went with the cross-repo git sync dashboard when it became a leg of the Heart-owned `$health` door (`/health status`), so the branch sourced a file that is not in this repo. It ended in `exit 0`, so it reported success while printing nothing but two shell errors — a caller could not tell the dashboard had gone. No caller passes the flag: PyAutoMind, PyAutoBrain and PyAutoHeart were all searched and nothing invokes `status.sh` with any argument. The replacement is an agent-driven procedure rather than a sourceable shell function, so there is nothing to repoint the branch at — it is deleted, and in its place the flag now says where the dashboard went and exits 2. Adds `tests/test_status_script.py`, which drives the real script: the retired flag fails loudly and names `/health status`, raises no shell error, every file the script sources exists, and a bare run still reports the registry. All four assertions fail against the old branch. Also files the task: prompt draft/ -> active/, active.md entry, dashboard regenerated. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ETn87kL4dFJdfzYWbPQMJS
Jammy2211
pushed a commit
that referenced
this pull request
Aug 26, 2026
Jammy2211
pushed a commit
that referenced
this pull request
Aug 26, 2026
main advanced while this task was in flight (status-sh-repos-missing-source retired, #331 → #332). The only conflict was dashboard.html, a generated file — resolved by regenerating dashboard.md/.html with `intake --apply dashboard`, never by hand. `dashboard --check` current, `registry_toc --check` fresh, `lifecycle check` and `lifecycle index --check` OK, `repos_sync --check` all 13 legs OK. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nj7cTnL8Ke5WoNsdGVhCKn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #331.
What was wrong
scripts/status.sh --repossourcedscripts/pyauto_status.shand called apyauto-statusshell function. Both went with the cross-repo git sync dashboardwhen it became a leg of the Heart-owned
$healthdoor (/health status), sothe branch sourced a file that is not in this repo.
The branch ended in
exit 0, so it reported success while printing nothingbut two shell errors — a caller could not tell the dashboard had gone:
Delete, not repoint
No caller passes the flag. PyAutoMind, PyAutoBrain and PyAutoHeart were all
searched: nothing invokes
status.shwith any argument (the Brain/Heart filesnamed in the prompt reference
overnight_status.shandci_status.sh, whichare unrelated scripts).
Repointing turned out not to be an option either — the replacement is an
agent-driven procedure, not a sourceable shell function, so there is nothing
here to point the branch at. The branch is deleted; in its place the flag now
names
/health statuson stderr and exits 2.Changes
scripts/status.sh— vestigial branch removed, replaced by the retirementpointer; usage header updated to
[--full]with a note recording where thedashboard went.
tests/test_status_script.py(new, 4 tests) — drives the real script ratherthan grepping it, because the failure was in what the shell did with the
branch: the retired flag fails loudly and names
/health status, raises noshell error, every file the script sources exists, and a bare run still
reports the registry. All four assertions fail against the old branch
(verified).
draft/bug/pyautomind/→active/with itsIssued:date,
active.mdentry, dashboard regenerated.Verification
python3 -m pytest tests/ -q→ 216 passed (the suitespawn_drift'sprivacyjob runs on this PR).python3 scripts/lifecycle.py check→ OK.bash scripts/status.sh --repos→ pointer on stderr, exit 2;bash scripts/status.sh→ unchanged output, exit 0.Generated by Claude Code